Method and apparatus for smooth disassociation of stations from access points in an 802.11

ABSTRACT

A plurality of methods, apparatus and computer program for providing warning to a station (STA) associated with an Access Point (AP) in a WLAN that a disassociation the AP is imminent. The steps include (a) selecting a station (STA) for disassociation from a particular Access Point (AP) of a WLAN; (b) by updating a newly created reason code field of a message to indicate to the selected STA that it has become a candidate for disassociation; and (c) transmitting the message to the selected STA. Upon receipt by the STA of a message indicating that the selected STA has become a candidate for disassociation, the selected station scans other Access Points from a list to find another Access Point to associate with before being cut off by the current Access Point.

The present invention relates to IEEE 802.11 and its Access Points (AP) and Stations (STA). More particularly, the present invention relates to a method for the Access Points to disassociate from STAs in a “friendly” manner.

A method for wireless communication has been proposed for 802.11. An infrastructure of a Basic Service Set (BSS) of IEEE 802.11 WLAN is composed of an Access Point (AP) and a number of stations (STAs) associated with the AP. The AP connects the stations to the infrastructure.

Load balancing of the (STAs) to the APs is an important objective in order to permit a WLAN network to operate efficiently. The overloading of some APs with (STAS) can lead to increased network response time, disconnects, etc., particularly if there are APs that are under utilized, in order to optimize response time and improve overall efficiency and dependability of the WLAN, load balancing shifts (STAs) to less-utilized APs so as to even out the workload among the APs.

For example, FIG. 1 illustrates load balancing as known in the art, and utilized by the present invention. Circle 100 represents a coverage area of the first AP 110, wherein all the STAs in that coverage area are being served by the first AP 110. Circle 200 similarly represents a second coverage area associated with Access Point 210. All of the STA's within the coverage 200 are capable of being serviced by the AP 210.

According to the particular example in FIG. 1, there are a total of eight STAs 105 associated with AP 110 while only one STA 205 is associated with AP 210. This shows a clearly unbalanced load. To perform load balancing, any number of the STAs 105a in the intersection area 215 of the two circles can be disassociated from AP 110, stopping their communication and forcing them to look to associate with AP 210. If AP 210 can handle the STAs 105a, the packets are handed-off to the newly associated AP 210. In this particular example, three STAs referenced as 105a will be disassociated from AP 110 and associated with AP 210 so that there is a five to four ratio of STAs associated with AP 110 versus AP 210.

Under 802.11, the only mechanism for the AP to perform load balancing is to issue a disassociation to the STAs it does not want to service anymore via receipt of a Disassociation Action Frame. The STA is abruptly disconnected, and must find another AP for servicing a.s.a.p. Again, under the current protocol, disassociation is an abrupt action because the STAs that are about to be disassociated have no forewarning that they are about to become disconnected from a particular AP. Therefore, when the AP disassociates a particular STA or STAs, it is common that the resulting is that the STA suffers from a service disruption and loss of packets during handoff, as the STAs are forced to stop communication immediately and look for other APs with which to associate.

Furthermore, the latest draft D0.5 of 802.11 Task Group k (TGk) provides for two types of messages that are communicated from the APs to the STAs. These messages are the Measurement Request Frame and the Site Report Response message. The Measurement Request is initiated by the AP and it requests the receiving STAs to provide certain measurements about the radio environment. Conversely, the site report response message is normally sent by the AP in response to the site report request from the STAs.

AP can also send autonomous site report without being requested by the STAs, whenever it sees the need of updating the site report information. The site report provides an overall picture of the neighborhood information, and includes a list of neighboring APs. The neighboring APs on the list are the ones which the STA will try to associate with should a handoff occur.

The present invention provides a mechanism for an AP to send a Disassociation Candidate indication to the STAs before issuing the Disassociation Action. The invention utilizes two existing protocol messages as a carrier, namely either the measurement request frame or the site report response frame, and creates a Reason Code field. The warning that the STA is a Disassociation candidate is arranged in the newly created Reason Code field. The invention permits increased reliability in uptime for the STA's without requiring a radical change to the hardware and/or software used in the 802.11 WLAN. Either the site report response or the measurement request frames can serve as a carrier of the Disassociation warning message.

FIG. 1 is a Venn diagram showing load balancing among two access points according to both the prior art and the present invention.

FIG. 2 is a diagram of a measurement request frame containing a reason field according to the present invention.

FIG. 3 is a chart listing the reason codes for Measurement Request according to the present invention.

FIG. 4 is a diagram of a site report response frame containing a reason field according to the present invention.

FIG. 5 is a chart listing the reason codes for a Site Report Response according to the present invention.

FIG. 6 illustrates an example of hardware that can be used to perform the present invention.

It is to be understood by persons of ordinary skill in the art that the following descriptions are provided for purposes of illustration and not for limitation. An artisan understands that there are many variations that lie within the spirit of the invention and the scope of the appended claims. Unnecessary detail of known functions and operations may be omitted from the current description so as not to obscure the present invention.

The instant inventors are referring to the invention as a “friendly disassociation” because it is not an abrupt cutoff as are current disassociations that often result in lost packets, etc. The STA that is selected for disassociation is referred to as a “disassociation candidate” because sometime in the near future, the candidate will be disassociated from the current AP. However, unlike abrupt disassociations, the present invention gives forewarning to the particular STA that it is a disassociation candidate, so that the STA can look for another AP before becoming disconnected from the WLAN. The measurement request frame and/or the site response report, both of which currently exist under 802.11k, are modified to become a carrier of the message advising the particular STA that it has been designated as a disassociation candidate.

FIG. 2 shows a measurement request frame under the latest draft of IEEE 802.11k. The latest draft permits STA to deny the request from the BSS to do measurement about the environment. The measurement request frame has added a reason field that provides the requested STA with additional information to determine the degree of urgency of the request. If the request is extremely urgent, the STA can be programmed to accept the request from the BSS because it is having a problem and disassociation might be imminent.

In addition, FIG. 2 illustrates that a measurement request frame contains a Reason Field 245, which in the present example, has bits reserved (from 0 to 255) for different conditions.

According to the present invention, it is proposed that one of the Reason field codes identifies a disassociation candidate, so that when the STA receives the measurement request frame the STA can be forewarned that they are about to disassociated from the current AP in the near future. In other words, the STA is being told ahead of time to expect receipt of a Disassociation Action Frame.

As shown in FIG. 3, in the present example of a Reason Code field, a “1” identifies that the STA receiving the measurement request frame is a disassociation candidate. A person of ordinary skill in the art knows that any one of the numbers in the range of the Reason field could be set aside to indicate this information, such as number 6, or 61, or 242, etc., but for ease of explanation, a 1 has been chosen.

Once the STA receives the forewarning that they have been selected as a disassociation candidate, the STA is provided time to scan for other APs to associate with before being disassociated via the Disassociation Action Frame. It should be noted the Reason Code indicates that disassociation is imminent and the activation delay field 246 (shown in FIG. 2) can specify the time the STA has before it will be disassociated from the current AP.

FIG. 4 shows another way that the reason code could be provided to the STAs as a forewarning that a disassociation is imminent. Instead of the measurement request frame, the reason code 445 can be inserted in the site report response frame. The reason code field here also has a range of 0-255 bits. Again, the activation delay field 446 can be used to specify the time the STA has before disassociation, when the Reason Code indicates that disassociation is imminent.

FIG. 6 illustrates an example of hardware that could be used to perform the present invention. As server 600 is typically hardwired to a bus 602, as are Access Points API (601), AP2 (603), AP3 (604). It is possible that the server 600 has wireless transmission capability (As evidenced by antenna 606) and foregoes the hardwired (a.k.a. electrical, optical) bus to communicate with the Access Points (also shown to have antenna 606).

A module 630, 635, 640 is arranged in AP1, AP2, AP3, respectively that stores the computer code to update a measurement request frame or a site report response in the reason code field to select a candidate for disassociation (chosen from respective STAs 605,610, 615,620,625 by the respective AP).

According to one aspect of the invention, the measurement request frame or site report response frames can be generated at a module 630, 635, 640 of the APs 601, 603, 604, or received by a module 630, 635, 640 of the APs 601, 603, 604 from the server 600, and can be updated to include disassociation if such a selection is warranted. The STA typically scans all the APs on a list that is part of the site report response to look for an AP that will service the STA. When an AP is found, there can be a handoff between the current AP of the respective STA and a future AP. Alternatively, if the time is critical, there may be time only to scan a single site and request connection.

Thus, the AP generates the actual frame and includes the reason code indicating the selected disassociation candidate. It is also possible to have certain default backup APs assigned, so that when STA3 receives a disassociation candidate message, it automatically scans a particular AP assigned as a default. There are other frames that are transmitted between APs and STAs that could be modified to contain the reason code so as to permit friendly disassociation messages. It should be understood that various modifications may be made to the present invention that does not depart from the spirit of the invention or the scope of the appended claims. For example, the number of APs, STA, etc can all be changed for need. In addition, while the ability to load balance without disconnecting STAs from service is one aspect of the present invention, the present invention also provides a method for an STA attached to an intermittently failing AP to receive a message indicating that it should scan other APs for a disconnect may be imminent. 

1. A method of providing warning to a station (STA) associated with an Access Point (AP) in a WLAN that a disassociation the AP is imminent, comprising the steps of: (a) selecting a station (STA) for disassociation from a particular Access Point (AP) of a WLAN; (b) updating a reason code field of a message to indicate the selected station that has become a candidate for disassociation; (c) transmitting the message updated in step (b) to the selected station.
 2. The method according to claim 1, wherein the message updated in step (b) is a measurement request frame.
 3. The method according to claim 1, wherein the message updated in step (b) is a site report response message.
 4. The method according to claim 2, wherein the measurement request frame is updated by including a numerical value in a reason code field that identifies the STA as a disassociation candidate, wherein the value is selected from a plurality of possible values, with each value corresponding to a particular reason for notifying the STA.
 5. The method according to claim 3, wherein site report response message is updated by including a numerical value in a reason code field that identifies the STA as a disassociation candidate, wherein the value is selected from a plurality of possible values, with each value corresponding to a particular reason for notifying the STA.
 6. The method according to claim 2, wherein the method includes identifying in an activation delay field of the measurement request frame an indication of a time period in which disassociation will occur.
 7. The method according to claim 3, wherein the method includes identifying in an activation delay field of the measurement request frame an indication of a time period in which disassociation will occur.
 8. The method according to claim 1, wherein the station (STA) selected in step (a) scans at least one Access Point other than said particular Access Point to find another AP to associate therewith.
 9. The method according to claim 2, wherein the station (STA) selected in step (a) scans all of the Access Points in a list provided to the STA.
 10. The method according to claim 3, wherein the station (STA) selected in step (a) scans all of the Access Points in a list provided to the STA by the site report response frame.
 11. The method according to claim 1, wherein the WLAN recited in step (a) comprises an IEEE 802.11 local area network.
 12. The method according to claim 1, further comprising: (d) sending a Disassociation Action Frame to the selected STA to end communication with said particular Access Point.
 13. A method of switching a station from a first Access Point to a second Access Point in a WLAN, comprising the steps of: (a) receiving one of (i) a measurement request frame message; and (ii) a site report response message, the received message containing a reason code field indicating that a particular station STA has been selected for disassociation; (b) scanning a plurality of Access Points to find another Access Point with which to associate; (c) handing off from the first Access Point to a second Access Point that is selected for association.
 14. The method according to claim 13, wherein the message received in step (a) includes an Activation Delay field used to indicate an amount of time before disassociation of the particular STA from the first Access Point will occur, wherein the Reason Code serves as a flag to indicate to the particular STA to read the contents of the Activation Delay field..
 15. The method according to claim 13, wherein the message received in step (a) includes an Activation Delay field used to indicate an amount of time before disassociation of the particular STA from the first Access Point will occur, wherein the Reason Code serves as a flag to indicate to the particular STA to read the Activation Delay field.
 16. An apparatus for switching a station STA from a first Access Point to a second Access Point in a WLAN, comprising: a plurality of Access Points being adapted for communication with a server and for wireless communication with at least one station STA being adapted for wireless communication; wherein each of said plurality of Access Points includes a module that updates a reason code field in one of (i) a measurement request message, and a (ii) site report response message to forewarn a selected STA that a disassociation from a first Access Point is imminent.
 17. The apparatus according to claim 16, wherein the module also updates an Activation Field to indicate an amount of time before disassociation of the particular STA from the first Access Point will occur, wherein the reason code field serves as a flag to indicate to the particular STA to read the Activation Delay field.
 18. The apparatus according to claim 17, wherein the module includes means for issuing a Disassociation Action Frame after a predetermined amount of time.
 19. A computer program product having a computer readable medium to execute the following steps: (a) selecting a station (STA) for disassociation from a particular Access Point (AP) of a WLAN; (b) updating a reason code field of one of (i) a measurement report message; and (ii) a site report response message to indicate the selected station that has become a candidate for disassociation; and (c) transmitting the message updated in step (b) to the selected station.
 20. The computer program product according to claim 19 further comprising: (d) sending a Disassociation Action Frame to the selected station after a predetermined amount of time. 